package com.umakr.ax.sv.model;

import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.sql.Timestamp;

/**
 * Created by umakr on 2017/6/17.
 */
@TableName("stat_message_history")
public class MessageHistory extends BaseModel{
    /**
     * 公众号唯一id
     */
    private Integer uniacid;
    /**
     * 公众号原始id
     */
    private String unighid;
    /**
     * 微信用户id
     */
    private String openid;
    /**
     * 微信/APP用户ID
     */
    private Integer memberid;
    /**
     * 用户名
     */
    private String membername;
    /**
     * 发送时间
     */
    private Timestamp createtime;
    /**
     * 微信消息id
     */
    private String messageid;
    /**
     * 消息内容
     */
    private String message;
    /**
     * 消息来源(1.微信 2.APP)
     */
    private Integer messagesource;
    /**
     * 消息类型(文字/图片/语音/视频)
     */
    private String type;

    /**
     * 语音长度
     */
    private Integer audiolength;

    /**
     * 消息本地缓存:如图片音频视频等 从腾讯服务器下载到本地
     */
    private String filepath;
    /**
     * 语义消息
     */
    private String translate;
    /**
     * 位置GPS信息
     */
    private String localation;
    /**
     * 位置文本信息
     */
    private String localationtext;
    /**
     * 消息状态（1.待审 2.待播 3.已播 4.审核未通过）
     */
    private Integer messagestatus;
    /**
     * 归档状态(0.未归档 1.已归档)
     */
    private Integer filestatus;
    /**
     * 归档节目
     */
    private String fileshow;
    /**
     * 归档日期
     */
    private Timestamp filetime;
    /**
     * 消息分类(交通事故/路况播报)
     */
    private String category;
    /**
     * 是否违规
     */
    private Integer isout;
    /**
     * 备注
     */
    private String mark;

    public Integer getUniacid() {
        return uniacid;
    }

    public void setUniacid(Integer uniacid) {
        this.uniacid = uniacid;
    }

    public String getUnighid() {
        return unighid;
    }

    public void setUnighid(String unighid) {
        this.unighid = unighid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getMemberid() {
        return memberid;
    }

    public void setMemberid(Integer memberid) {
        this.memberid = memberid;
    }

    public String getMembername() {
        return membername;
    }

    public void setMembername(String membername) {
        this.membername = membername;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public String getMessageid() {
        return messageid;
    }

    public void setMessageid(String messageid) {
        this.messageid = messageid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getMessagesource() {
        return messagesource;
    }

    public void setMessagesource(Integer messagesource) {
        this.messagesource = messagesource;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getTranslate() {
        return translate;
    }

    public void setTranslate(String translate) {
        this.translate = translate;
    }

    public String getLocalation() {
        return localation;
    }

    public void setLocalation(String localation) {
        this.localation = localation;
    }

    public String getLocalationtext() {
        return localationtext;
    }

    public void setLocalationtext(String localationtext) {
        this.localationtext = localationtext;
    }

    public Integer getMessagestatus() {
        return messagestatus;
    }

    public void setMessagestatus(Integer messagestatus) {
        this.messagestatus = messagestatus;
    }

    public Integer getFilestatus() {
        return filestatus;
    }

    public void setFilestatus(Integer filestatus) {
        this.filestatus = filestatus;
    }

    public String getFileshow() {
        return fileshow;
    }

    public void setFileshow(String fileshow) {
        this.fileshow = fileshow;
    }

    public Timestamp getFiletime() {
        return filetime;
    }

    public void setFiletime(Timestamp filetime) {
        this.filetime = filetime;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Integer getIsout() {
        return isout;
    }

    public void setIsout(Integer isout) {
        this.isout = isout;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public Integer getAudiolength() {
        return audiolength;
    }

    public void setAudiolength(Integer audiolength) {
        this.audiolength = audiolength;
    }
}
